var app = getApp();
var util = require("../../utils/util.js");
var siteinfo = require('../../siteinfo.js')
Page({
  data: {

  },

  onLoad: function (options) {
    let _this = this;
    _this.getDetail(options.id);
  },
 
  onShow: function () {

  },
  //获取详情
  getDetail: function (id) {
    var _this = this
    app._get(siteinfo.selIndexCertificateDetail, {
      id: id
    }, function (result) {
      _this.setData({
        description: result.data
      });
    })
  },

  onShareAppMessage: function () {

  }
})